projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc42a06
)
gsk: Fix a typo
author
Matthias Clasen
<mclasen@redhat.com>
Sat, 9 May 2020 23:40:06 +0000
(19:40 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sat, 9 May 2020 23:40:06 +0000
(19:40 -0400)
We were checking x_offset twice, when we meant to check
x_offset and y_offset. Pointed out by RafaĆ Mikrut.
Fixes: #2726
gsk/gskrendernodeparser.c
patch
|
blob
|
history
diff --git
a/gsk/gskrendernodeparser.c
b/gsk/gskrendernodeparser.c
index fcacb8b8888efa9738ffc366d584304029a5e1f5..822eb5c405559dc57ce8c594af9e2c05e61f901b 100644
(file)
--- a/
gsk/gskrendernodeparser.c
+++ b/
gsk/gskrendernodeparser.c
@@
-2265,7
+2265,7
@@
render_node_print (Printer *p,
if (glyphs[i].glyph == ascii->glyphs[j].glyph &&
glyphs[i].geometry.width == ascii->glyphs[j].geometry.width &&
glyphs[i].geometry.x_offset == 0 &&
- glyphs[i].geometry.
x
_offset == 0 &&
+ glyphs[i].geometry.
y
_offset == 0 &&
glyphs[i].attr.is_cluster_start)
{
g_string_append_c (str, j + MIN_ASCII_GLYPH);